package com.frejoys.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("j_user_cash")
public class UserCash {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //用户id
    private Long userId;

    //微信收款码
    private String wxImg;

    //用户姓名
    private String username;

    //用户账号
    private String account;

    //类型：1微信收款图，2支付宝账号
    private Integer type;
}
